 
const mongoose = require('mongoose'); //导入

// 定义 Schema
let addArticleSchema = new mongoose.Schema({
  title: String,
  name: {
    type: String,
    required: true
  },
  region: Number,
  createTime: String,
  desc: String
})
let addArticle = mongoose.model('addArticle', addArticleSchema)

module.exports = addArticle; //导出学生